package me.javaweb.seata.user.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
public class Test {

    private String id;
    private String text;
    private LocalDateTime date;

    public Test(String text) {
        this.text = text;
        this.date = LocalDateTime.now();
    }
}
